export interface UserInfo {
  id: number | string
  username: string
  nickname: string
  avatar: string
  roles?: (string | number)[]
}

export function getUserInfoApi() {
  return get("/user/user_detail_info", {}, {
    token: true
  });
}


export function getUserMenu(){
  return get('/user/menu/get',{},{
    token:true
  })
}
